Superconducting NbN Thin-Film Nanowire Detectors for Time-of-Flight Mass Spectrometry