The DOJ lawsuit could reshape how schools nationwide recruit teachers and design diversity programs under federal law.