XMM-Newton RGS Spectroscopy of the M31 Bulge. I. Evidence for a Past AGN Half a Million Years Ago