A pilot who struggled with a training course and feared failing it hanged himself in a Brighton hotel