On the Loewner Energy and Curve Composition