Airstrikes hit a major energy facility in Qatar after Iran vowed retaliation for an earlier strike on one of the world’s largest natural gas processing sites in its territory.