D-Cubed: Latent Diffusion Trajectory Optimisation for Dexterous Deformable Manipulation