how Wyoming became a state