The ban comes on the heels of an order from President Trump seeking to defund schools that allow trans athletes to compete as women.