Ruling in Texas injects culture war into one of the country’s most significant corporate prosecutions