[devtools] port call stack (#80550)
Since the Error Overlay call stack had dedicated handlers for animation, it wasn't able to reuse them. Therefore, port the UI part of the call stack and receive handlers as props, so that the call stack component can be shared with the Error Overlay and the DevTools panel.