Construction of generalized samplets in Banach spaces