Correlated magnetic noise in global networks of gravitational-wave interferometers: observations and implications