A bill to allow Maryland voters to decide whether to legalize internet casino gaming failed to get out of the legislature and onto this year’s ballot due to strong and coordinated opposition from unions representing casino workers and several gaming companies.