A federal appeals court on Tuesday ruled against a West Virginia law banning transgender females from participating in girls and women’s sports in public schools and colleges, allowing a 13-year-old transgender girl to compete with her middle school’s cross country and track teams.