I'm not sure this is specifically a KDE/Plasma 5 issue though. Firefox correctly gets focus on X. But it also correctly gets focus on Wayland when opening URLs in Firefox from apps that aren't Thunderbird.
So far that I've found it's only a combination of Thunderbird, Firefox and Wayland.