Jeff Lewis Details Reaching Temporary Custody Agreement with Ex, Says Court Was 'Not a Good Time'