An Outgunned Hamas Tries to Tap Islamists’ Growing Clout