Convert mSampleEventTimes to std::vector

We will be adding another vector, mIsResampled, to MotionEvent. It will
closely follow the mSampleEventTimes design.

To facilitate this, convert mSampleEventTimes to std::vector.

Bug: 167946721
Test: atest libinput_tests
Change-Id: I2c8f7f4d6e3fc5ff75376cf2c66137a3b6a8349c
diff --git a/include/input/Input.h b/include/input/Input.h
index 7b66d3c..9feab7b 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -722,7 +722,7 @@
     inline const PointerProperties* getPointerProperties() const {
         return mPointerProperties.array();
     }
-    inline const nsecs_t* getSampleEventTimes() const { return mSampleEventTimes.array(); }
+    inline const nsecs_t* getSampleEventTimes() const { return mSampleEventTimes.data(); }
     inline const PointerCoords* getSamplePointerCoords() const {
             return mSamplePointerCoords.array();
     }
@@ -747,7 +747,7 @@
     float mRawYCursorPosition;
     nsecs_t mDownTime;
     Vector<PointerProperties> mPointerProperties;
-    Vector<nsecs_t> mSampleEventTimes;
+    std::vector<nsecs_t> mSampleEventTimes;
     Vector<PointerCoords> mSamplePointerCoords;
 };