The wire is actually a detonation chord.  During the ejection sequence, the chord fractures the canopy allowing the pilot to safely eject through it.  Some jets, like the F-16, don't have detonation chords and have to blow the canopy completely off first before the seat can safely eject from the aircraft.