Well-posedness and dynamics of a fractional stochastic integro-differential equation