The dynamical mass of the white dwarf in XY Ari questions intermediate polar X-ray spectral models