Australia will close the border between the states of New South Wales and Victoria beginning on Wednesday, disrupting movement between Melbourne and Sydney, the nation’s two largest cities.