If Trump wins he could probably shift a lot of votes for Speaker in the new congress. He does not need Ryan controlling things in the House.
Ryan may be minority leader after the bs be pulled. At any rate, Trump only needs about 25-30 Republicans to withhold support for Ryan and he’s finished.