New York has a "stop and identify" law which says that
a police officer may stop a person in a public place located within
the geographical area of such officer's employment when he reasonably
suspects that such person is committing, has committed or is about to
commit either (a) a felony or (b) a misdemeanor defined in the penal
law, and may demand of him his name, address and an explanation of his
conduct.
However, there is no requirement to carry an identifying document or to prove your verbal statements of identity. For that matter, there is no requirement that you have your license in your possession when driving, you simply have to be duly licensed. In this case, the officer has reasonable suspicion of a crime, so you do have to tell him your name, address, and what you were doing.
In Washington, there is no stop-and-identify law, so you don't even have to tell the police who you are. There does exist a requirement to identify yourself if you are stopped for an traffic infraction:
(1) Any person requested or signaled to stop by a law enforcement
officer for a traffic infraction has a duty to stop.
(2) Whenever any person is stopped for a traffic infraction, the
officer may detain that person for a reasonable period of time
necessary to identify the person, check for outstanding warrants,
check the status of the person's license, insurance identification
card, and the vehicle's registration, and complete and issue a notice
of traffic infraction.
(3) Any person requested to identify himself or herself to a law
enforcement officer pursuant to an investigation of a traffic
infraction has a duty to identify himself or herself and give his or
her current address.
However, the proposed scenario does not fall under this requirement because you weren't stopped. Also note that the limited ID law of Washington does not compel you to provide a document, it compels you to provide information.
It is a misdemeanor to drive without a valid Washington license, but it is only an infraction to drive having been issued a license but not having it in your possession, as long as you provide an alternative ID document. So if you drive without a license in WA and are stopped, you have to show an ID document or suffer the misdemeanor alternative. But again, in this scenario you were not driving and were not stopped, you will not be forced to provide a document. Because driving without a license is a misdemeanor and the officer did not observe you driving, under Washington's arrest without warrant law, he cannot arrest you for suspicion of having committed the misdemeanor of driving without a license. (The arrest without warrant law is a bit more complicated, see the 11 exception subsections, none of which apply here).
If your goal is to try to be forced to show your driver's license, you might try Indiana, where the law says
A person who knowingly or intentionally refuses to provide either the
person's: (1) name, address, and date of birth; or (2) driver's
license, if in the person's possession; to a law enforcement officer
who has stopped the person for an infraction or ordinance violation
commits a Class C misdemeanor.
But again, you were not stopped for an infraction or ordinance violation, so you may keep your license in your wallet.