Border-signal generating and wire winding device for border recognition of self-propelled mower