Solution 1:

Sorry to burst your bubble, but the Elytra can't be put on Armor Stands.

Also, you can't determine when X and Z postistions are constant. Remember that the Elytra don't give you the ability to actually fly (minus Creative mode), they only allow you to glide. And noting that they take up the Chestplate armor slot still makes players question why the Elytra can't be put on ArmorStands in the first place. The ability to but them on the stands may be in a future update. I tried this with my own game, and I came out with negative results. I died doing this, since Creative mode really makes the Elytra, um, unusable. Survival mode was the only way to do this.