Since heterosexuality is the default (especially in context of the Bible), then it should say “a man who lays with a *girl”, not a boy. The verse is going out of its way to mention gender.
Women back then would get married even under the age of 11. Mary the mother of Jesus was believed to be no older than 14.