A teenage hiker has been located “safe and sound” after two days lost in a national park in Queensland’s southeast.