The foreign secretary will become the UK's lead negotiator with the EU over the Northern Ireland Protocol.