Heavy rain brought much of Libya’s second city Benghazi to a standstill on Wednesday, closing major roads and shutting its airport, officials said.