Inverse Surrogate Model of a Soft X-Ray Spectrometer using Domain Adaptation