NHS England’s gender identity clinic for children could be faced with legal action from at least one thousand families.