The latent variable proximal point algorithm for variational problems with inequality constraints