Gambling in Maryland will soon include table games like blackjack and a casino near the nation’s capital, after voters on Tuesday approved an expansion measure that generated the most expensive political advertising campaign in the state’s history.