Magnetoresistive-coupled transistor using the Weyl semimetal NbP