Skyrocketing housing costs eat into the high incomes in this Northern California city, but it’s also home to great jobs in technology, media and financial services.