It is discrimination and it's totally illegal. I do personally find the "wokeness" of Disney also shows in their cartoons (it's just an opinion but several have that same opinion).
So for such things to happen, there may be a company culture of wokism in place at Disney.
If there's such a company culture and seen the size of the leak, it's very possible that they've been so dumb as to openly discuss how to be anti-white (e.g. both in hiring practices and in picking fictional characters) on their slack channels.
To paraphrase a well-known meme: *"You never go full woke: Disney went full woke".