A Kepler study of starspot lifetimes with respect to light-curve amplitude and spectral type