Cardiff City outclassed Wrexham to progress to the EFL Cup quarter-finals, showcasing tactical dominance and key player performances.