An Irish nationalist has made history by becoming Northern Ireland’s first leader as the government returned to work after a two-year boycott by unionists.