The case has raised concerns among press freedom groups and legal experts, who warn it could have a chilling effect on reporting under President Donald Trump’s administration.