Learning Sparse Control Tasks from Pixels by Latent Nearest-Neighbor-Guided Explorations