US judge’s wife claims upside down flag was ‘signal of distress’