Jamie Foxx was out of the limelight for several months with an illness that was not disclosed before resuming his work at Bet MGM