Electron-lattice coupling in bound-to-continuum THz quantum-cascade lasers