Encoding-dependent generalization bounds for parametrized quantum circuits