The White House has said it wants federal agencies and states to make mining cryptocurrencies like Bitcoin more climate-friendly—or else.