Nope. The switch has nothing to do with the mike or the XLR.
Pins 2 and 3 are the microphone connections, pin 1 is the shield and for "PTT" (switch), you'd wire that up to the proper contacts on the Kenwood mike jack but they have nothing to do with the XLR connections (except the PTT ground return can be common to the pin 1 ground connection).
Normally XLRs are studio mikes and they have no provision of any kind for a PTT connection; that would be independent of the mike, such as a footswitch.
A government which robs Peter to pay Paul can always depend on the support of Paul.
-- George Bernard Shaw