Learning with a Mole: Transferable latent spatial representations for navigation without reconstruction