The Reform UK leader has resigned as an MP and has triggered a by-election, in which he intends to contest