Court upholds California Prop. 22 in big win for gig firms like Lyft and Uber