Use main_input_name for include_inputs_for_metrics
# What does this PR do?

Instead of hard-coding `"input_ids"`, we should use the model main input name when getting the inputs for the metrics.
Fixes #24933
_The documentation is not available anymore as the PR was closed or merged._