The British pop superstar, who had avoided performing for President Biden’s predecessor, was also presented with the National Humanities Medal.