It may be a prop-it or introductory-it, displacing as object (of 'found') the clause 'to return the wallet' and postponing this clause to a more dominant position in the sentence. -- Or it may be just part of a fixed expression: to find it in oneself [to do]. Here, 'it' presumably refers to 'moral/ethical strength' or something of that ilk.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.