In general you can't go from an element back to the component. In a specific case you can usually work it out, for example by reading off a matching id, but it's not usually a good idea. One case where it can be needed is for event listeners on elements with delegation.
You probably just want to use a component query instead of resorting to selector queries.