Salt - at least the term generally applied here meaning sodium chloride - does not affect water hardness, and is irrelevant to the hardness of your water.
EDIT: I see this could have been taken in a way in which I did not intend. I am referring to carbonate hardness, the typical hardness scale we use when discussing hardness as it relates to aquaria. Any dissolved ions can affect hardness in some way or another, including chloride, etc., but not when referencing carbonate hardness, which I believe is what we all mean when we say "hardness". My tap water is "hard" as the dickens, but it isn't very salty
A fair number of livebearers are euryhaline fish. In their natural environment, they inhabit waters with salt concentrations ranging from nonexistent to verging on complete saltwater. These "freshwater" fish are 100% capable of dealing with salinities at anything equal or lower to typical seawater, possibly higher in certain specimens. It does not damage their kidneys. They have perfectly functional metabolic processes for dealing with this varying osmotic gradient.
When keeping livebearers, especially those which are known to inhabit varying salinities in their natural lives, I see no problem with recommending NaCl in the "freshwater" aquarium. They do not thrive in perfectly fresh water, nor do they thrive in full on marine salinities. They can survive both, but the proper levels lay somewhere inbetween the ends of the spectrum. I am not familiar with the exact osmotic preference of livebearers, as I do not keep them, but I'm sure the information could be found somewhere in the scientific literature. If no livebearers specifically, then euryhaline fish as a whole.
The problem stems from information being taken out of context, or not understood fully.
Not all freshwater fish have the osmotic regulation adaptions to handle salinities above nil. Someone who is keeping livebearers, and uses salt in all their tanks, may not see a problem. The practice does not however, translate to freshwater fish as a whole.
If you understand which species you are keeping and what their tolerance for salinity is, salt can be used effectively in the aquarium full-time. Knowing the tolerance of your species, is however, of UTMOST importance when determining if a permanent salinity is to be maintained in your "freshwater" tank.
For freshwater tanks as a whole, no, long term application of salt is not a necessity. For certain specimens, often kept in "freshwater" aquaria, who are not stenohaline, then long term application of a salinity is not a problem in the slightest, and could potentially be beneficial.
Case and point - research the species you are keeping before considering long-term application of a selected salinity. In MOST freshwater aquaria, salt is not a beneficial mineral.
In regards to dose levels -
5 gallons is approximately 20 liters. Assuming standard "recommended" dosage of 1 tablespoon of salt (approximately 17 grams), this would produce a salinity of approximately 894ppm NaCl, or ~.9g/L. This is less than 1/30th the average salinity of seawater, and falls in the very low end of typical "brackish" water conditions, in terms of salinity. Research seems to indicate that typical minimal lethal salinities for presumed stenohaline freshwater fish is in the 7-15‰ range - roughly an order of magnitude larger than the dosings typically recommended for ich treatment. Some even go as far as to say one teaspoon per 5 gallons for sensitive fish - around 6 grams level - which would put salinity at around .3g/L, well within the generally accepted definition of "fresh water". At these levels, it seems highly improbable - especially since ich treatments with salt are generally very short term - that any toxic effects could manifest themselves.