With major professional sports teams supporting efforts to legalize sports betting and one of the world’s largest gambling companies backing a multimillion-dollar lobbying effort on behalf of casinos, gambling opponents recognize the potential for a David-and-Goliath battle in the Texas Legislature.