Certified randomness from a two-level system in a relativistic quantum field