job: Disassociate JobEvent from the originating job.

By the time on_job_event() runs, the Job may have finished and been
freed, so save the required job information in the JobEvent.