Understanding DDPM Latent Codes Through Optimal Transport