President Donald Trump has thrown his support behind a candidate in the race after warning California "has gone to hell".