A man who was caught with nearly £2.5m worth of cocaine in the boot of his car following a high-speed police chase has been jailed for five years.