Two-loop QCD corrections to the scattering of massless distinct quarks