Design and characterization of a magnetic bottle electron spectrometer for time-resolved extreme UV and X-ray photoemission spectroscopy of liquid microjets