Lawyers for Rupert Murdoch and publishers call president’s lawsuit ‘an affront to the First Amendment’