Quantum-limited linewidth in THz quantum cascade lasers