The guidelines, released Friday, place Virginia at the heart of a national battle over how transgender children should be treated at school, as well as if and how much parents should be told about gender transitions that begin there.