perf: `Environment.find?` should not block on privacy mismatch (#8472)

This PR avoids name resolution blocking on the elaboration of a
theorem's proof when looking up the theorem name.
1 file changed