Also, unless you cap it in a per industry basis (which makes the whole thing very inflexible to changes in the economy) you just created an insurmountable problem for those firms that want to hire, say, a Catalan interpreter. Required skill uncommon in the U.S.? Check. Easy to get a foreign worker with that skill? Check. But now you need to pay them a software engineer salary or higher.
As a matter of fact, given how small the cap is, you could conceive that the only software engineering jobs that would be hiring internationally would be in high frequency trading and other such areas of the industry that pay higher salaries. Or, software engineering, but just in the bay area (other places pay less because of adjusting for the cost of living). No matter the rest of the considerations associated with why someone chooses a particular job.
Other than that, you're absolutely right. This would mostly benefit software companies in the Bay or NYC, and the ones that pay way above average at that. I'd argue it'd be better than current situation though. Indian employees are effectively tied to their employer due to the Green Card backlog. It's significantly less true for the H-1B holders hired by Facebook, Google, Amazon and the like.
And there are other skills-specific visa categories. For example, a professional hockey player on a North American roster from wherever is never denied a visa because of any other visa quota (H-1 variants, L variants, etc.)