Potential witnesses are afraid the government will retaliate against them if they testify in a free speech case brought by academic organizations over immigration officials’ detention of students who are not U.S. citizens and faculty who have expressed pro-Palestinian views, according to a filing in Massachusetts federal court seeking a protective order.