China tries to walk a fine line as a Middle East peacemaker