There was a lot that was ordinary about the hearing in Courtroom 20B of the Manhattan federal courthouse on Friday morning: a team of lawyers at the plaintiff’s table, spectators in the gallery. What was extraordinary was the defendant, the United States government, and the lawsuit it is facing over the National Security Agency’s seven-year-old, once top-secret phone-surveillance program, which until this week it never had to defend in open court.