White Sox end 5-game skid behind Lynn, beat Royals 4-2