Thermodynamics of Radiation-Balanced Lasing