Refactor `lib/utils/checkInvalidCLIOptions.js` (#6003)
Refactor `lib/utils/checkInvalidCLIOptions.js` (#6003)

This small refactoring aims to make `buildAllowedOptions()` more readable.

The number of loops is doubled (`Object.keys()` and `Object.values()`),
but it will not degrade performance since `allowedOptions` is a small array.
stylelint/stylelint,stylelint/stylelint,stylelint/stylelint,stylelint/stylelint