I've never heard of a leaking fork seal being grounds for failing NYS inspection. Where did you take it? I live near that area. All they've ever done to me is check the lights, tire treads and brake pads, and my bike is older than yours.
Ditto to that as well NYS inspections are ridiculous at the best of times anyway, you can "legally drive" a vehicle that is nothing but rust and literally falling apart going down the road BUT if you have a bad O2 sensor your a "hazard on the road"!