Lawyers challenging the restrictions say they run counter to the #MeToo movement’s tenet that women experiencing sexual harassment and abuse can find strength from hearing about others with similar experiences.