If you get a cut and it is bleeding before you perform a wajib ghusl but arent sure if it is still bleeding at the time of the ghusl, is the ghusl valid?

You need to make sure the bleeding has stopped before doing the ghusl.