Far before then, rulers and nation states restricted human movement. (http://newint.org/features/1991/09/05/simply/)
Anyway, the welfare state (which includes government investment in fundamental tech which led to advances like computing, internet, etc) is a major driver of innovation and growth. More humans coming in, treated well, can obviously contribute. (As they already do, exploited for the most miserable societal tasks.)
But of course you're right that borders have been closed by leaders believing they help enforce cultural and political stability for eons before that.
http://www.britannica.com/topic/alimenta http://www.britannica.com/topic/civitas
The Hadrian and Antonine walls close to where I am suggest otherwise. Also a lot of borders well before the "welfare state" were policed carefully to collect taxes - which is why smuggling was such a big thing in many areas.
I don't know what what you mean by "strong borders" but I can't think of any likely interpretation where I could agree with your statement. I'd say centralization of power, and the advancement of technology, have more relevance.
Remove various fundamental benefits such as public school, medical care, welfare, transit, subsidized X and the millions of other benefits created in the past 120 years and open borders are not as big of a deal anymore. You just need to hop on a boat and arrive at ellis island, like the ancestors of many americans today.
There are also parallels with city zoning laws. Go buy a house and find out how many restrictions and regulations there are on the parcel of land that you have purchased. And also see how much resistance you will get from the local politically active populace if you dare try to change things. Such as creating density. NIMBYism almost seems like a instinctual human reflex.
In other places where there isn't a welfare state and so on, it's usually straight up racism and ethnic nationalism.