Pennsylvania high court rejects lawsuit challenging election