Conditional Diffusion as Latent Constraints for Controllable Symbolic Music Generation