Hi Elecpl123.
Isn't important what is a connection.
Rules: P1 "in" current-S1 "out"current
P2 "in" current-S2 "out" current. Isn't important if it's star point of CT's.
You are protect a motor. Current is only "in" from line/bus
(OK, we don't take in account contribution of motor in case of external SC). In case of SC into a motor, current "in" from the line/bus, flow via line CT, but don't continiue flow via neutral CT (or partly only). This disbalance or diffirential current flow via varistor/resistor and make voltage on the protective relay terminals. Relay will trip.
Hope that help you.
Good Luck.
Slava