The pilot program chose people on the city’s long waitlist for housing vouchers to test how much direct cash payments can help. HUD, the federal housing agency, is interested in the possibility.