Boom-bust dynamics in a stock market participation model with heterogeneous traders