Evolution of the surface magnetic field of rotating proto-neutron stars