Replace struct update_fee_delta with lambda
Summary:
This is a backport of core#24625
The second commit is already done in Bitcoin ABC.
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D12591