Frontrunner in bid to become chancellor sparks outrage after counting on AfD to pass parliamentary motion