Hadi Matar charged him with one count of second-degree attempted murder, which carries a maximum sentence of 25 years; set to appear in court again in September; fails to reveal clear motives for his actions