The $2 billion ‘e-tab’ gold rush hits states like North Dakota, keeping nonprofits afloat—and rich. Some are buying bars.