I think you might have hallucinated Wario being Mario's cousin. He's only refereed to as a childhood rival in the manual to Mario Land 2. It is actually something i believed myself until recently, so you're not alone.
Eriswed's comments