One in five people in Leeds could become homeless within a month of losing their job, a new survey from Purplebricks Mortgages has suggested.