Gorsuch reacted sharply when Senator Sheldon Whitehouse of Rhode Island, a Democrat, asked him what he knew about a multimillion-dollar ad campaign run by a conservative group that backs his nomination.