Magnetic deformation of neutron stars in scalar-tensor theories