A man in his 40s was struck and killed by a car while riding an e-scooter in Perth.