Latent Bayesian Optimization