The “Moonlight” director will also co-write the film with “Coco” screenwriter Matthew Aldrich