Gov. Dannel P. Malloy’s push to smooth out spiking state contributions to the teachers’ pension may hinge on a new proposal to dedicate lottery assets to the cash-starved retirement benefit fund.