input: parse `:input-slave" options earlier
Move the option parsing right before the input-item slaves copy. This avoid input-slaves unnecessary duplication each time the input is reparsed as the input-item slaves copy itself avoid duplicating.
Fixes #19977 (closed)