Proceedings in US court against former New York City mayor who became a Trump aide also bring to light remarks mocking size of Jews' genitalia