In Cannes, Filmmakers Contend With Despair and Beauty, Too Titles like “Aftersun,” “Tori and Lokita” and “EO” offer dark visions that challenge and move viewers.