To buy a median-priced home in one of the 50 largest American cities, you?ll need a certain annual income ? which can vary dramatically.