I believe there is something wrong with the numbers provided in the question. Your thinking is right, assuming no energy is lost to the calorimeter, the heat lost by the hot water is the same as the gained by the cold water. So, by using the following formula:
$$Q=mc\Delta T$$
We know the following:
$$m(H_2O_{hot})\times c(H_2O)\times \Delta T(H_2O_{hot})=m(H_2O_{cold})\times c(H_2O)\times \Delta T(H_2O_{cold})$$
Let the final temperature be $T_f$,
$$\implies mc(50-T_f)=mc(T_f-25)$$
Over here the unit of temperature (degree Celcius) does not affect the reading since we are subtracting the values (and therefore the difference would be the same irrespective of whether we are using degree Celcius or Kelvin as our unit). Now solving this equation for $T_f$, we get:
$$T_f=\frac{75}{2} ^\circ C=37.5^\circ C$$
Now if we use $Q=mc\Delta T$ to find the value of heat loss for the hot water, we will see that it is not consistent with the values you have provided. This is shown below:
$$Q=mc\Delta T$$
$$\implies Q=100g\times 4.184J\cdot g^{-1}\times (50-37.5)^\circ C$$
$$\implies Q=5230J$$
As seen, the heat change for hot water is $5230J$ worth of energy whereas in the question you have mentioned that the heat change for hot water is $10707.37J$.
I would request you to recheck the question. But yes, as mentioned earlier, your concept is right, in an ideal case the heat change for hot water is the same as heat change for cold water (the signs will be opposite since hot water losses heat whereas cold water gains heat) and if it is not an ideal case, i.e. the calorimeter takes some of the heat energy then the heat lost to the calorimeter plus the heat change for cold water is equal to the heat change of the hot water.