No. Endeavor is a Normal-type move, so it will not hit Ghost-types, and will never hit a Wonder Guard Pokémon because Normal- is not super effective against anything (unless a Pokémon uses Endeavor with Mold Breaker or its clones).
You can use a Pokémon with Scrappy to allow Endeavor to hit Ghost-types. You can use a Pokémon with Aerilate, Refrigerate, Galvanize or Pixilate to hit a Pokémon with Wonder Guard.
I hope I could help.