A Fleetwood man appeared in court after police found “£20k worth of cocaine and heroin” following a police pursuit.