Walt Disney Co. ‘s “Rogue One: A Star Wars Story” was toppled from its three-week run as box-office leader by “Hidden Figures,” the 20th Century Fox film about a group of black women mathematicians who play a crucial role in the U.S. space program in the 1960s.