Hamas and Fatah meet in Beijing to try to work out differences as international pressure grows for end to war in Gaza