The WA premier has ridiculed a One Nation candidate's claim the party could win the next state election after it secured a lower-house seat in a by-election.