Unfortunately, the new Hold to Sprint toggle only applies to GTA Online, so there's no way to enable the setting in the single player GTA 5 campaign. This means you'll need to continue mashing the X button in order to reach top speed when playing as Michael, Trevor, or Franklin.