The Chinese president’s visit comes as Beijing seeks to position itself as Southeast Asia’s trade lifeline.