Someone then probably tried to prove this by checking whether dietary salt intake leads to hypertension. However, medical and nutritional science are very limited in the ways they can conduct research. So they probably did an epidemiological study and saw that populations with hypertension also had a high dietary salt intake. Proof! Except... well, no.
Our kidneys are perfectly capable of balancing this out as long as we don't ask too much of them. More salt in your food than you need? More sodium in your pee. Less salt in your food than you need? Well, you're screwed.
Edit: Sorry for being unable to provide a direct answer to your question, but I felt compelled to reply.
Edit 2: After a search in Google Scholar, the earliest study I could find is from 1950 [0]. They studied the link between salt and hypertension in rats by replacing their drinking water with 2% salt solutions and measuring their blood pressure. It seems to me that all non-epidemiological studies are useless extremes... With no "clean" water (all water intake was hypertonic) the kidneys can't really dispose of much.
[0]: http://sci-hub.tw/https://journals.sagepub.com/doi/abs/10.31...
Edit 3: The actual paper recognises in the discussion (with citations) that it is impossible to cause hypertension in rats without artificially controlling all their water intake. Wow. Even if all water is salted, as long as it's iso- or hypotonic there is no hypertension.
Regrettably I can't find the source.
It's like with cholesterol, i.e. the claim that eating saturated fat can increase LDL particles in your bloodstream (it can), but to jump from there to claiming that increased LDL causes heart disease is a stretch, because LDL is just a transport mechanism and naturally, it depends on what it transports.
People are inclined to search for easy solutions. But unfortunately nothing is easy about our metabolism.
The stories that get retold, aren't the ones that are true, but often the ones that are simplest to tell.