Safety-Critical Traffic Simulation with Guided Latent Diffusion Model