Drawing on her own childhood losses, Thomas’s film blends live action with animation to examine grief at a family wedding