If you want to use a step down buck converter generally you power them from 24v (Vin) from any always on source (not necessarily a fan header positive but that can sometime be a convenient pin) tie the input GND to the 24v Vin GND, run the positive output to the fan and then ground the fan back via the pwm fan pin you want to use to control the fan. How this ties in with 4 wire fans I do not know.