Newcastle United were defeated by Brighton as Danny Welbeck scored an extra-time winner to end their FA Cup hopes.