Four-time Olympic gold medallist Titmus 'made the right decision' to retire from swimming at the age of 25