Driven off Queensland’s goldfields, arrivals from China pioneered trade and agriculture in the north of the country, until discriminatory legislation and changing times forced them out