I’m not sure I am following you now.
Forgetting the shifter end of things for a moment…
Can you rearrange the current set up at the rear wheel so that the cable loops under the hub, rather than over – this will seem ‘wrong’ based on your current arrangement, but I think the inner needs to go from the guide (that points along the chainstay), under the hub, then curl forwards to where it is attached.
edit – like this
But, the shifter complicates matters.
On mine (and sounds like spooky has the same setup), the shifter pulls cable to shift up to a higher gear. Does your Jtek shifter pull cablke for a downshift, like a derailleur?