New York City narrowed the inequality gap between 2014 to 2019, defying a national trend, as the bottom half of earners steadily increased their share of income faster relative to wealthier ones, an analysis of annual state tax data by the Independent Budget Office shows.