Fifth seed Juan Martin del Potro lost in five sets to Spain's Roberto Bautista Agut in the second round of the Australian Open.