Trump heads to China weakened as Xi gains leverage ahead of summit