A donkey was held for four days after police swooped on a planned race in rural Pakistan.