A driver decided to "go for a jog" after a police chase led to the uncovering of a stash of drugs in Bradford.