Wealthy nations may lead the world in innovation, but middle-income countries like China and India shine brighter every year.