US stocks end midweek lower as Fed raises rates for first time in over 3 years