“Logan” wouldn’t have been possible without the foul-mouthed path blazed by “Deadpool”