Roberto Bautista Agut rallied from a set down to defeat Reilly Opelka 4-6 6-3 6-4 in the first round of the Qatar Open.