Electrifying New York show retraces the roots of 20th-century American art to muralists such as Rivera and Orozco