Do the lights you have-in-hand have resistors pre-wired into them?
Although it seems backwards, for dcc the "positive" wire is the common wire (what I'd think of as the ground), and the "negative" wire is the switched wire.
I've found one can just "experiment" to discover what works:
Put the engine on dcc powered track.
Turn the headlights on using your dcc controller (even though they're not yet connected to the dcc decoder).
Locate where the leads connect.
Try the light "one way", and if it doesn't light, try it the other way.
Make a note
on paper so you won't forget (like I would).
I get pre-wired LEDs with resistors on ebay. 1.8 or 1.9mm sizes. See this link:
Get the best deals for led 1.9mm warm white pre wired at eBay.com. We have a great online selection at the lowest prices with Fast & Free shipping on many items!
www.ebay.com
On these, the red wire is positive (the common wire), and the black wire is negative (the "Switched" wire).