Does statsmodels compute R2 and other metrics on a validation-/test- set?
No.
There's another question over on Stack Overflow concerning wrapping statsmodels models to use the sklearn conventions, so that you can use sklearn cross-validation, hyperparameter searches, etc.