Spending towards temporary housing for the homeless in Wigan risen more than 12-fold since 2018-19, new figures show.