[Feature] Job detail cancel + retry buttons

Wired existing /job/cancel and /job/retry endpoints into the job detail page header. Cancel during running, retry after terminal.

Shipped in: #5129