Electromagnetic-wave-pumped free-electron laser in a plasma channel