Question: are you required to hand over your license?
Answer: There is no law that says "you have to provide ID only if accused of a crime", or "police can pull you over only if you are suspected of a crime". Various traffic infractions will get you pulled over but are not crimes; random sobriety checks are legal.