Israel’s military struck Beirut for the first time since a ceasefire with the Lebanon-based militant group Hezbollah started in November, a sign of how the deal backed by the U.S.