The president’s order called for curbing the independence of the sprawling network of museums and urging it to promote “American greatness.”