Bayesian Optimization with Hidden Constraints via Latent Decision Models