Revert "Link libinput statically for inputflinger_tests"

This reverts commit bb19287fee88ab0437f7c79dbbc792f121db6b91.

Reason for revert: causes a crash in inputflinger_tests b/217165277

Bug: 217165277
Test: atest inputflinger_tests

Change-Id: I7174d75ccc7e323646c503070174d6791570d394
diff --git a/libs/input/Android.bp b/libs/input/Android.bp
index 930d819..e73c3b8 100644
--- a/libs/input/Android.bp
+++ b/libs/input/Android.bp
@@ -35,7 +35,6 @@
 
 cc_library {
     name: "libinput",
-    cpp_std: "c++20",
     host_supported: true,
     cflags: [
         "-Wall",
diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp
index f734e59..aae4e0d 100644
--- a/services/inputflinger/tests/Android.bp
+++ b/services/inputflinger/tests/Android.bp
@@ -58,8 +58,7 @@
         ],
     },
     static_libs: [
-        "libc++fs",
-        "libinput",
+        "libc++fs"
     ],
     require_root: true,
     test_suites: ["device-tests"],