BEIJING — China took a modest step into Middle East diplomacy this week, hosting back-to-back visits from Mahmoud Abbas, the leader of the Palestinian Authority, and Prime Minister Benjamin Netanyahu of Israel.