Nigel Farage’s populist Reform UK party won its first seats and came second in many more, splitting the right-wing vote and contributing to the Conservatives’ losses.