A medal awarded to a homing pigeon who helped the Dutch resistance during World War Two has been sold at auction for £30,000.