Extending states on preordered semigroups and the existence of quasitraces on C∗-algebras