The Prime Minister and Irish premier have pledged to work together in an “uncertain world” as they met ahead of the first in a series of annual summits.