You do not need to get to a context, there are two signal methods in StatefulKnowledgeSession.
One method passes event to all processes run by this session, another one passes event to a specific instance given its id:
ksession.signalEvent(signalName, data, instance.getWorkflowInstanceId());