Generative AI and Agency in Education: A Critical Scoping Review and Thematic Analysis