The Lebanese government has cancelled classes in the country’s south and opened schools to shelter thousands of people fleeing Israeli strikes.