China names Xi Jinping as new president