Learning with Local Search MCMC Layers