The random field XY model on sparse random graphs shows replica symmetry breaking and marginally stable ferromagnetism