Electronic control of a motorcycle suspension for preload self-adjustment