The topology of force-free magnetic fields