All degree 6 local unitary invariants of k qudits