Police are appealing for witnesses after a man was taken to hospital with life-threatening injuries following a gunshot wound.