Qantas chief Alan Joyce reveals $400m spend on customer loyalty after airline’s ‘staggering’ $1bn loss