Some of the NBA’s top players, including Stephen Curry and Klay Thompson, are following in a family tradition.