Low energy x-ray spectrometer for an electron beam ion trap