I would do the drain loop first and see how it works.
The water inlet valve is not too difficult to replace yourself.
- The part number for the water inlet valve is
AP3178610
Here are the break down diagrams for the Whirlpool dishwasher
Model GU1200XTLB2
Good luck.
Gene.