Wave rotor optimization for gas turbine engine topping cycles