First-time buyers must earn an average of £53,000 to purchase a home in the UK's largest cities, according to data from Hometrack.