US State department official resigns after Wikileaks comments