Dr. Caitlin Bernard violated the privacy of her young patient by discussing the girl’s case with a reporter