Posterior Inference in Latent Space for Scalable Constrained Black-box Optimization