Feasibility of a hot-electron-pumped K-shell X-ray laser