Tyson Foods has lost a class-action lawsuit against employees at its Iowa pork-processing plant who claim they were underpaid.