Queensland bounce back to down NSW and salvage Origin pride