Morgan Rogers's second-half double saw in-form Aston Villa come from behind to win 3-2 at struggling West Ham.