The Boston Athletic Association, which hosts the annual Boston Marathon, voiced opposition to betting on this year’s race.