A federal appeals court had stern words for a Texas federal judge who issued a lifetime ban to a female litigator who previously accused him of sexism in the courtroom.