A new strategy aiming to house homeless people sooner is the “best chance we’re going to have” to end rough sleeping in York, the council’s housing boss said.