The pandemic led many teachers to leave their jobs − a trend that could continue if education leaders don’t address issues that affect morale.