After a difficult year, China faces more foreign policy challenges ahead