After 20 years in the NBA, the most influential dunker of all time is winding down his career—and the game prepares for a new era of high-flyers.