The bill, anticipated to be signed into regulation by Gov. Cuomo, limits to about a years a contractor’s liabilty for a subcontractor no longer paying wages.