China has set its lowest growth target in decades, acknowledging domestic challenges and pointing to global uncertainty.