An aging population, high living costs and new businesses like livestreaming are reversing a trend that defined China's recent economic expansion.