The state’s housing shortage is dissuading companies from coming to Connecticut, as those companies need to ensure there is available housing for employees.