Lawyers for the filmmaker said the testimony was needed for the officials to rule on Mr. Polanski’s possible extradition to the United States.