Joel Edgerton delivers a masterful performance as a railroad worker who witnesses the birth of a new American era.