Xi Jinping declared China president for a historic third term