State offers lifeline for Wayne County jail project