Stochastic Localization via Iterative Posterior Sampling