[segment explorer] fix route path in top navbar (#81195)
* Remove the `app` prefix in top bar of route info as we only need to know the pathname. It's also removed in the new design
* `state.page` was only passed for panel ui but missing in segment explorer of dock indicator