31-year-old Cole Tomas Allen traveled from Los Angeles to Washington, D.C., by train prior to the shooting. His motive remains unclear