Labor has claimed the seat of Hasluck in Western Australia - one of three key seats it was hoping to take off the Liberals.