As educators and parents question using AI for learning, research shows that what matters most is how teachers use AI.