Stock futures inch higher as S&P 500 looks to wrap