A former Cumbria Police detective sergeant is due to face a misconduct hearing after allegedly testing positive for cocaine.