Understanding Self-Supervised Learning via Latent Distribution Matching