touch_updater: Add preferred search path option to find_i2c_hid_device

find_i2c_hid_device traverses `I2C_DEVICES_PATH` to find a hid device.
However, in most cases this is being called from a function that already
has the top-level directory that contains the hid device. This change
allows the caller to provide a preferred search path thus optimizing
the search.

BUG=b:254113689
TEST=`platform.BootPerf*` tests

Change-Id: Iea2dd89e2c71f6d07cda23407067e1c53fe913e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touch_updater/+/4036367
Reviewed-by: Kenneth Albanowski <kenalba@google.com>
Reviewed-by: Jingyuan Liang <jingyliang@google.com>
Commit-Queue: Henry Barnor <hbarnor@chromium.org>
Tested-by: Henry Barnor <hbarnor@chromium.org>
3 files changed