Stewart seals first AMA win with YZ450F