A Data-Augmented Contrastive Learning Approach to Nonparametric Density Estimation (Journal of Machine Learning Research, 2026)