WASHINGTON — The Supreme Court on Wednesday seemed closely divided over the fate of one of the Obama administration’s most ambitious environmental initiatives.