Quantum detailed balance conditions with time reversal: three-level system