Self-lensing flares from black hole binaries: general-relativistic ray tracing of circumbinary accretion simulations