He Fought Trump’s Texas Power Grab. Now He’s Defending Himself in Court.