China's unfolding demographic crisis casts a shadow over President Xi Jinping's mid-century ambitions.