The backlash extends beyond Silicon Valley, with tighter H-1B visa restrictions potentially affecting technology hiring, housing demand and local economies that depend on international talent.