Domain Elastic Transform: Bayesian Function Registration for High-Dimensional Scientific Data