Mid-infrared-pumped, electrically driven terahertz quantum laser: Enhanced pumping efficiency and prevention of electric-field domains