Trey Lance got literally 2 games and a drive (1 one of which he was actually pretty good in, in a must win game against Texas) at a position where even pretty good players aren't very good in their rookie seasons (with a couple exceptions). It wasn't his performance in games that was the reason they decided to move on.
And the Warriors made the finals before they traded Wiseman btw.
Trey Lance never looked good, he couldn't even complete a pass against the dogshit Chicago Bears in the 1st half before the typhoon kicked off
The year before he had 2 TDs and a pick against the 4-13 Texans, not exactly the second coming there
It was absolutely Lance's performance that got him booted, he couldn't beat the last pick in the draft or Sam Darnold out of camp in 2023, he's not an NFL player
The Warriors made the finals the year Wiseman missed the entire season due to injury, he was gifted the starting job straight out of the draft the season before
The Warriors cut bait on Wiseman when they realized he's a 7 footer who can't box out or rebound and his ball skills are redundant on a team with Steph Curry controlling play, he got minutes he didn't earn because he was the 2nd pick in the draft
The Askarov situation is the opposite, he was traded because there was no opportunity for him, to be comparable he would have had to have been fed starts he didn't earn and perform poorly in them, he's played 3 NHL games total and mostly looked good in them, it's apples to oranges