Wire production 500 years ago
No, a wire-puller does not necessarily belong in prison, even if our current linguistic usage suggests this. Because originally he earned his daily money by making wires - in technical jargon: pulling wires.
However, the fact that the term has a negative connotation today and stands for a person who is planning a crime in the background, it is not related to wire production; rather, there is a connection to puppeteers. These were and are colloquially referred to as string pullers or wire pullers. The connection to hidden crime is obvious, because puppeteers are also invisible in the background and supposedly let the puppets do the work alone.