The enthusiasm generated by former three-term Rep. Beto O’Rourke may seem reminiscent of another politician who had only spent a few years in Congress before running for the White House — President Barack Obama.