Deep Learning Based Recalibration of SDSS and DESI BAO Alleviates Hubble and Clustering Tensions