Three inner-Sydney districts lost more people to other parts of Australia than any comparable region in 2016-17.