A Queensland teacher accused of attempting to kiss a student and sending inappropriate messages has been given a pathway to return to the classroom.