Creates an ExpressionInput from the given type. Warning: This function's main purpose is to allow the creation of serialized expression inputs. It should not be used to add inputs to a material expression.