The legislation would have allowed people to play slots, poker, blackjack and roulette online for real money, under the oversight of the D.C. Office of Lottery and Gaming.