Flash is absolutely a justification because of the long CD comparative to defensive tools such as Hourglass, your own flash and more.
See, this is the problem: You're only seeing this from the perspective of a Xerath who is panicking because Zed jumped on him. You're not seeing it from the perspective of a Zed who has had to throw out Qs and take awkward trades because Xerath outranges you by a mile without having to blow your one mobility tool. Zed has to pick, choose and come out on top of his engagement because he's an assassin who HAS to kill his target or else he can't roam and begins to fall behind.
Your rengar argument also flops hard because Rengar came out at a time when Riot wasn't all "MY COUNTERPLAY THO". In fact, Rengar was Season 2/Season 3. Almost five years ago. If your best example of a counter argument is almost half a decade old, it's not a strong one. Assassins have more counterplay now, albeit they also have more itemization. Of course that's not to say AP mages have nothing. Stopwatch is probably your best bet with a 600 gold item that counters a Zed/Talon early. Plus if you also consider that early game the CDs on such all-in ults are fairly long, you should absolute be able to farm up an hourglass which should prevent Zed from getting most of his burst off, among others.
But let's go back to the overall issue: Ranged vs. Melee. You want ranged characters to have more defenses to survive their vulnerability time. It's incredibly ironic that we have such a disparity between melee characters and ranged characters and yet we're still asking that ranged get buffs to their defenses. It's madness. It perpetuates the state that ranged will always be better than melee in an equal playing field.
And at the end of the day, if you're getting blown up 1v1 and being dove under tower, the constant is you. We're both gold so that means neither of us is particularly good at League. Maybe it's time to examine how you play and the problem with your playstyle rather than pointing to the game and saying everything is wrong.
As a final note, let's look at some OP.gg stats to see how things have been shaping up. This is based on Korea, arguably the best region and on 7.22 (Preseason).
- The first AD midlaner who appears is Pantheon at Rank 10. Only one champion in the top 10 is an assassin, with Katarina being an AP assassin-mage at rank 2.
- Zed is currently sitting just about a 50% win rate with an 11% pick rate.
- Xerath, conversely, is at 53% win rate with around a 4% pick rate.
- The Zed vs. Xerath match up leans in Xerath's favor despite Zed having first tower down and first kill in most situations. Of course you can point to the ban rate so....
- Talon, as another comparison, has a roughly 50% win rate, a similar pick rate to Zed and has an even worse match up against Xerath than Zed does. This includes even less of a ban rate than Zed.
Seems that people who know what they're doing don't have an issue against AD assassins with Xerath.