A federal appeals court dismissed a class-action lawsuit filed by a patron of a fast-casual restaurant chain, whose information was stolen in a data breach.