Nicolás Maduro was declared the winner in Venezuela’s presidential election on Sunday, even as his opponents were preparing to dispute the results, setting up a high-stakes showdown that will determine whether the South American nation transitions away from one-party rule.