Effect of the stellar spin history on the tidal evolution of close-in planets