Fix importwallet edge case rescan bug
Summary:
Start importwallet rescans at the first block with timestamp greater or equal
to the wallet birthday instead of the last block with timestamp less or equal.
This fixes an edge case bug where importwallet could fail to start the rescan
early enough if there are blocks with decreasing timestamps or multiple blocks
with the same timestamp.
Backport of core's PR10410
Test Plan:
make check ./test/functional/test_runner.py
Reviewers: schancel, #bitcoin_abc, dagurval
Reviewed By: #bitcoin_abc, dagurval
Differential Revision: https://reviews.bitcoinabc.org/D945