Nonprofit to turn hotel into housing