Enrollment in teacher preparation programs was already plummeting before the pandemic.