A high school history teacher who helps students look inward to find their strengths and outward to find community has been named National Teacher of the Year.