Coherent narrowband light source for ultrafast photoelectron spectroscopy in the 17–31 eV photon energy range