A Mexican appeals court has reversed a ruling that jeans maker Levi Strauss & Co was guilty of misguidedly targeting an ex-contractor as part of a clampdown on counterfeiting.