Yehiya Sinwar has tested positive for the coronavirus as infections reach record levels in the Palestinian territories.