El quicio is a doorframe or hinge-post. Similarly to English, if somebody becomes furious you could say they came ‘unhinged’. Sacar means ‘to take out’, so to take a door out of a door-frame you literally have to ‘un-hinge’ it.
Jose siempre tiene algo por lo que protestar. Me saca de quicio.