California is not just deciding whether pot should be legal. It’s determining the shape of a major new American industry.