More than 20 of Texas’ intermediate appellate justices lost their seats in November’s election, which saw historic numbers of Democrats elected, draining the bench of decades of experience and setting off a flurry of hiring activity as law firms clamored to add the ousted judges to their ranks.