Stochastic resonance in an interacting-agent model of stock market