It was the first such Israeli attack on Lebanon’s capital in months and came shortly after Hezbollah pounded northern Israel with 140 rockets.