A man's terrifying encounter with a cougar on a hiking trail in Utah has gone viral after he managed to record a six-minute video of the incident.