You were in control of a running vehicle on a public highway with a suspended license? Yeah, that's a crime.
What part of this do you think the fourth amendment applies to? An officer approaching a parked car is a consensual contact.
They don't even need a reason. The articulable suspicion (confirmed by you) that you were driving under suspension, is more than enough to detain you further.

