Detecting Interactions from Neural Networks via Topological Analysis