The governor’s $227 billion spending proposal included an ambitious housing compact meant to drive development and address New York’s housing shortage by allow the state to step in and approve projects if a municipality fails to meet certain building goals.