Between 2020 and 2025 Britons' average wealth fell by tens of thousands, according to research by Swiss bank UBS.