Colorado ultraviolet transit experiment near-ultraviolet transmission spectroscopy of the ultrahot Jupiter KELT-9b