With online outreach, the embassy is attempting to counter accounts of the Hamas-Israel war in China’s official media