[motion-path] Refactor various parts of path operation and RenderStyle
<rdar://problem/114584136>
Pull request: https://github.com/WebKit/WebKit/pull/17143
Committed 267416@main (3f5059d542cf): <https://commits.webkit.org/267416@main> Reviewed commits have been landed. Closing PR #17143 and removing active labels.