China has hosted 26 leaders from 23 countries this year, underscoring its growing diplomatic and economic influence.