Attosecond electron–spin dynamics in Xe 4d photoionization