Western Australia's Labor and Liberal parties have promised to allow GPs to prescribe ADHD medication after the state election.