Serre-invariant stability conditions and Ulrich bundles on cubic threefolds