A number of renowned chefs and food professionals have spoke out against the 'only cook with wine you'd drink' mantra.
Should You Really Only Cook With Wine You'd Drink? (seriouseats.com)
I would also note that salted wine is mainly a North American thing, not universal. It seems to be a result of licencing laws in some territories and is done to make it undrinkable so that it can be sold in unlicensed premises.