Model-free Estimation of Latent Structure via Multiscale Nonparametric Maximum Likelihood