If a Grave Domain cleric casts a spell that restores hit points to multiple creatures and one of those creatures has 0 hit points, does the spell restore the maximum number of hit points to all targets of the spell?

No. Only a creature with 0 hit points benefits from the hit-point-restoration portion of the Circle of Mortality feature.