Tommy Robinson has lost a bid to bring a High Court challenge over his segregation in prison.