Wendy's has endured a tough two-year stretch as diners eat out less often.