Unfortunately, you can't use the Ender Dragon spawn egg. Unlike many other mobs, the Ender Dragon isn't available through a standard spawn egg.
In creative mode, players typically rely on commands or other methods to summon the dragon, since the usual spawn-egg approach simply doesn't apply to this boss.