Seol mar théacs é seo: Leveraging scene embeddings for gradient-based motion planning in latent space