For decades, infectious diseases were seen as the biggest health threat in the developing world. That’s beginning to change.