The Green Party has won its first ever parliamentary by-election in Gorton and Denton, dealing a bitter blow to British prime minister Keir Starmer.