Nonparametric Contextual Bandits in Metric Spaces with Unknown Metric