There is a spell in vanilla Skyrim called "AbNoFlightMG07Dragon". It's used to keep the undead dragon in Labyrinthian grounded; adding it to your dragon's spell list should keep it on the ground, too.
IMPORTANT EDIT: That existing spell
also makes the dragon weaker to magical attacks. You may want to create a new Ability Spell that uses only the "ABDragonFlightless" Spell Effect and add
that spell to your dragon.