I didn't say Lux had the longest range in the game. I just meant-- Because of how she works as a whole. She is able to cast her E while moving away and gaining distance making it hard to catch her if she's at max range. Xerath has longer range because he becomes immobile or less mobile during all of his spells. Q requires a charge up and while it is easy to land if you're good with movement predicting/timing still causes him to wast 1-2 seconds charging and reduces his movement speed.
Xerath is more sustained damage because his ult has charges in which have a travel time and small aoe. Lux can insta-burst 2 people if she lands a binding since she can throw it out in 2 seconds or less. Xerath has 1-1.5 seconds to kill one target if he lands his stun. Even then, ulting means he is rooted in place. It leaves him open for that time which some champions can abuse. Lux, once popping her load onto you, can walk away in that 1-2 seconds where Xerath has 3-4 seconds to bust his load and leave.
Plus, I'd say people are more comfortable playing Lux because she has a shield, a two person root, an AoE scouting tool that has a slow, and uber damage with ult. + She's a girl and that laugh is ultimate taunt.
Xerath got reworked and while he's actually better, no one is interested in playing a long ranged sustained damage mage when they insta-gib someone much quicker.
Ziggs has more range than Lux, but his damage is unreliable in mid-lane so he's being taken bot to siege and get the turret quicker since he's safer in that role when pushing.
tl;dr Lux can't clear minions in the backlane because her main clear is her E+Passive and both have utility attached to them.