The Democratic governor of New York will not allow federal judges to officially conduct marriage ceremonies because some of them might have been appointed by the president.