A policymaker at the Bank of England has said interest rates need to stay higher for longer in order to “purge” the risks to UK inflation.