Hot-phonon generation in THz quantum cascade lasers