The idea of arming some teachers has been controversial and has drawn sharp opposition from the National Education Association, the country’s largest teachers lobby, among other groups.