The president rescinded a White House invitation to basketball star Stephen Curry, who had said he would "vote" against the planned visit by the NBA champion Golden State Warriors.