Gig worker law withstands challenge from Uber at federal appeals court