Former federal opposition leader Peter Dutton has ruled out a political comeback in a rare public appearance following his bruising election defeat.