Equidistribution of roots of a quadratic congruence to prime moduli