Hot-carrier relaxation and thermalization in quantum-cascade lasers: phase coherence versus energy relaxation