just don't teleport to strangers. if this were to be enforced it'd be too much of a gray line on what is tp trapping and what isn't. if they teleport u from a high place they could say they were just flying and you accepted at a bad time or that they thought you had fly, if it was in the nether blowing you up they could say they were just mining netherite and you accepted at the wrong time, etc. too much of a gray line on what is and what isn't, too many excuses could be made and because you can't read someone's mind you can't know if it's true.