Massachusetts Treasurer Deborah Goldberg plans to return to the state capitol in Boston early next year to continue lobbying lawmakers in an effort to take the state’s profitable lottery online as it tries to remain viable in a rapidly changing gaming industry.