The Wii U purchases are tied to the console, the Switch purchases are tied to the user, so I'm fairly certain you would have to buy it again for the other console.
Nintendo is not known for being cross-platform friendly. As Fi from SS would say, "There's a 95% chance you would have to pay for the DLC content twice for 2 different consoles".