Quantum-classical transition of photon-Carnot engine induced by quantum decoherence