Luis Guillermo Solis’s win dislodges a two-party dynasty that has governed the coffee-producing country for decades.