PML-N-backed candidate wins Sargodha by-election