Active learning with functional inputs: application to wind turbine reliability design