The movement to legalize marijuana had its biggest test to date Tuesday as voters in nine states considered proposals to increase legal access to the drug.