The Obama administration says public schools must allow transgender students to use the bathroom of their choice, in a move that has divided some state officials.