I don't think it is that simple, but maybe I'm missing something. The Opteka module is for Nikon, so even assuming your idea for wiring a cable up works you also have to assume Pentax and Nikon are using the same data protocols. Possible I suppose, but extremely unlikely IMHO. However, it has been done with Nikon, here is a link to someone who hacked together a GPS for their Nikon:
Nikon D90 Homemade GPS
Another solution, that is less money than the Pentax solution is to get a GPS data logger. WIntec makes one as do others. There are also smartphone apps that will produce a GPS track. This track can then be fed into Lightroom to match with your images or this can be done with other software such as geosetter. These loggers are small and can just be added to a backpack strap or your camera strap. That is an advantage since there are no cables to the camera and the flash shoe is free if you want to use flash. You have to go to the trouble of saving and importing the gps track though.
I got the Pentax O-GPS1 when it was on sale in April and for $200 I am very satisfied. Just slide it on and forget it. Works flawlessly.