Robust Nonparametric Regression with Metric-Space Valued Output