The attorneys for Wendy’s guardian revealed in a legal filing that the talk show host is ‘cognitively impaired’ amid her ‘tragic’ dementia battle