For decades it seemed as if nothing could change the trajectory of population growth. But a huge change is looming.