James Talarico and Adam Hamilton ran on faith and won big. Democrats can thank the president