I don't know this for certain. I am speculating.
The rearmost four of our 32 adult teeth do not usually erupt until we are young adults, at least eighteen.
So I think the idea of having one's wisdom teeth is that one is old enough to have acquired wisdom or at least the rudiments of wisdom. It means to have begun to be an adult.
Student or Learner