The suspect was taken into custody after allegedly entering St. Patrick’s Cathedral with gasoline and lighters