The maximum principle for a system of equations of energy and non-stationary radiation transfer