Green Beans with Coconut-Mustard Sauce

2 tablespoons black mustard seeds 1 medium onion, chopped 1/2 cup white wine vinegar 1/4 cup water 1/2 cup coconut milk 2 tablespoons butter, optional 2 tablespoons whole-grain mustard (I used a raspberry whole-grain mustard that I’m trying to finish up, hence...