Hot-electron spectrometry with quantum point contacts