Court asked to stop LGBT groups harassing supporters of Trump’s trans military ban