Retail investors have ‘rage sold’ out of the stock market after driving the pandemic-era trading boom just 2 years ago