Hubbard model on the kagome lattice with time-reversal invariant flux and spin-orbit coupling