In a worrying trend, people are “taking the law into their own hands” to try to catch online predators.