Virginia embraced an effort to renew students’ patriotic zeal that could be a blueprint for other states