This secret-court document shows how the US argued Yahoo had no right to defend its users’ privacy