Even with Practiced Spellcaster feat*, the caster level of a true dragon is much lower than it's CR. So, you should expect that one casting of Greater Dispel Magic (or Chain Dispel) will strip off all the buffs the dragon have. If you want to buff the dragon, Ring of Enduring Arcana (Complete Mage) will be your friend.
*... Well, it is debatable if a dragon can take this without actually having some levels of spellcaster class. After some consideration, as a DM I have translated that a true dragon does need at least 1 class level to take this feat.
Or, let the dragon mainly use swift spells such as Wraithstrike, breath-related spells and even Swift Haste.
Regarding different type of energy. If the dragon is not old enough to use Breath Weapon Substitution spell, let it use some wand or staff. Say, a white dragon holding a caster level 10 wand of Fireball. True Dragons can learn Use Magic Device skill as one of their class skill.
#Rather long note regarding Wraithstrike
I am not sure if Wraithstrike is that "broken" in that level of campaign. As per PCs using that spell, well, if you throw enough creatures who don't rely on Armor/Natural Armor/Shield bonus to AC, it is fine. Yeah, the measure part of dragon's AC is coming from it's natural armor bonus. But it can use Scintillating Scales and it should.
On the other hand, dragons using Wraithstrike + Power Attack could be one of the worst nightmare for PCs. But I have actually let dragons do this in my previous dragon-heavy campaign, which started from 4th-level and finally reached to 21st-level. And PCs survived. If your play group is using various supplements, especially Spell Compendium, PCs can have a lot of ways to withstand huge full-attack damage output per turn. Trust me, a 21st-level Duskblade augmented by various buffs from fellow cleric and sorcerer survived full attacks of Great Wyrm + (age category 13) for 2 rounds. The wyrm was converting 30 of his BAB into damage.
Also, there are several (if not many) ways to counter Wraithstrike. As this is indeed a spell, a character can ready an attack or spell to distract it. Grove of Invulnerability and Otiluke's Suppressing Field will prevent the spell from working. Enervation is another good spells to be used against a dragon, as it will suck up their precious spell-slots while damaging it and lowering it's attack bonus.