Hot-electron relaxation dynamics in quantum wires