Since the player's life total is checked only as the spell resolves, you can cast Hidetsugu's Second Rite targeting any player, regardless of life total. If the player isn't at 10 life as Hidetsugu's Second Rite begins resolving, it does nothing and finishes resolving. Note that since having 10 life is not a targeting restriction, the spell isn't removed from the stack for having an illegal target; it just won't do anything.

Artwork
Loading artwork…
Hidetsugu's Second Rite
Foundations · #202 · EN
Nonfoil—Foil—
Card rules
If target player has exactly 10 life, Hidetsugu's Second Rite deals 10 damage to that player.
Once a mortal ogre, Hidetsugu devoured his demonic patron and transcended mortality in a fit of rage.
Uncommon · Illustrated by Ben Hill
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
PreDH Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Premodern Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions