Radiative transport of Lorentz lines in nonisothermal gases