A federal law intended to protect children’s privacy may unwittingly lead them to reveal too much on Facebook, a provocative new academic study shows, in the latest example of how difficult it is to regulate the digital lives of minors.