Iranian man loses bid to be freed from Australian immigration detention