[libcxx] updates regular_invocable test to actually test regular_invocable

The test wasn't previously testing this concept, but its base.

Differential Revision: https://reviews.llvm.org/D99306

GitOrigin-RevId: 3f143a10cc4fd7cd4a24b8bb380370d35bc58a2c
2 files changed