Trainee teacher with incurable liver disease to run marathon