Quantum plasma fluid model for high-gain free-electron lasers