MetricsCollector: Do not store entire InputDeviceInfo for space efficiency

We don't need to copy all of the fields and string in
InputDeviceMetricsCollector. Only store the fields we need.

Bug: 245989146
Test: atest inputflinger_tests
Change-Id: Ibf29041279a293044978e4ed494575efccf24044
3 files changed