One of the world’s leading frontline aid organisations, Médecins sans Frontières, is pulling out of Afghanistan after 24 years because of a deterioration in security.