More than 1,800 drivers in Lancashire failed a roadside drug test after being pulled over between January 2023 and July 2024.