Magnetic properties of the spiral spin liquid and surrounding phases in the square lattice XY model