A Republican lawmaker called for UW-Madison to cancel a planned course on racism and fire its professor for posting tweets the legislator said condoned violence against police officers, warning Tuesday that the class could affect the university’s funding in the next state budget.