Precision measurement of neutrino oscillation parameters with 10 years of data from the NOvA experiment