Voting has closed in a by-election in Britain's Clacton constituency after the Reform UK leader resigned amid scrutiny of a $9 million donation from a crypto billionaire.